// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .CS}

//-------------MAIN---------------
thread "RAP" 
0ADF: add_dynamic_GXT_entry "spc" text "rapid shot value ~1~" 

:RAP_24
wait 2 
if 
   Player.Defined(0)
jf @RAP_24 
0AB4: 17@ = var 771 
008F: 9@ = integer 17@ to_float 
0087: 25@ = 9@ // (float) 
25@ /= 15.0 
if 
   not 25@ > 1.0 
jf @RAP_78 
25@ = 1.0 

:RAP_78
0393: actor $PLAYER_ACTOR perform_animation "PYTHON_CROUCHFIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "PYTHON_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "PYTHON_FIRE_POOR" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "PYTHON_CROCUCHRELOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_CROUCHFIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_CROUCHLOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_FIRE_POOR" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_LOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "SHOTGUN_CROUCHFIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "SHOTGUN_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "SHOTGUN_FIRE_POOR" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "SILENCED_CROUCH_RELOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "SILENCED_CROUCH_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "SILENCED_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "SILENCED_RELOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "TEC_CROUCHFIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "TEC_CROUCHRELOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "TEC_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "TEC_RELOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "UZI_CROUCHFIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "UZI_CROUCHRELOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "UZI_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "UZI_FIRE_POOR" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "UZI_RELOAD" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "IDLE_ROCKET" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "ROCKET_FIRE" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "RUN_ROCKET" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "WALK_ROCKET" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "WALK_START_ROCKET" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "WEAPON_SNIPER" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "2guns_crouchfire" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Colt45_crouchfire" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Colt45_crouchreload" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Colt45_fire" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Colt45_fire_2hands" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Colt45_reload" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Sawnoff_reload" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Buddy_crouchfire" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Buddy_crouchreload" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Buddy_fire" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Buddy_fire_poor" at 25@ times_normal_rate 
0393: actor $PLAYER_ACTOR perform_animation "Buddy_reload" at 25@ times_normal_rate 
if or
8AB0:   not key_pressed 54 
8AB0:   not key_pressed 55 
jf @RAP_4B4 
if or
8AB0:   not key_pressed 55 
0AB0:   key_pressed 54 
jf @RAP_4F7 
jump @RAP_533 

:RAP_4B4
9@ -= 2.0 
01E5: show_text_1number_highpriority GXT 'SPC' number 17@ time 500 flag 1 
if 
  5.0 > 9@ 
jf @RAP_533 
9@ = 5.0 
jump @RAP_533 

:RAP_4F7
01E5: show_text_1number_highpriority GXT 'SPC' number 17@ time 500 flag 1 
9@ += 2.0 
if 
  9@ > 200.0 
jf @RAP_533 
9@ = 200.0 

:RAP_533
jf @RAP_24 
jump @RAP_24 
